/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package org.fh.itsbankomat.businesslogic;

/**
 *
 * @author MeinLaptop
 */
public enum TransaktionStates {
     CARD_INSERTED(1), PINCHECK_INPROGRESS(2), CARD_VALID(3), RECEIVE_MONEY(4), CARD_PULLED(5), END(99);

 private int m_iState;

 private TransaktionStates(int c) {
   m_iState = c;
 }

 public int getState() {
   return m_iState;
 }
 
  public String getStateAsString() {
   return Integer.toString(m_iState);
 }
}
